package cn.bgs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 反馈表
 * </p>
 *
 * @author Mr.Zhao
 * @since 2022-08-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="FeedbackForm对象", description="反馈表")
public class FeedbackForm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "献言献策id")
    private Integer offerAdviceId;

    @ApiModelProperty(value = "编号")
    private String feedbackFormNumber;

    @ApiModelProperty(value = "反馈信息")
    private String fbFormAdvice;

    @ApiModelProperty(value = "反馈人")
    private String fbFormPerson;

    @ApiModelProperty(value = "时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//JsonFormat是出参格式化。
    private LocalDateTime offerTime;

    @ApiModelProperty(value = "状态")
    private String offerState;

    @ApiModelProperty(value = "删除标志(1删除 0未删)")
    private Integer deleteFlag;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @TableField(exist = false)
    private String huifuinfo;


}
